package com.fastloan.mgt.daily.model.vo;

import com.fastloan.utils.DateTimeUtil;
import com.fastloan.utils.excelutil.annotation.ExcelTableHeader;

import java.util.Date;

import static com.fastloan.utils.DateTimeUtil.HH_MM_DATE_PATTERN;
import static com.fastloan.utils.DateTimeUtil.NORM_DATE_PATTERN;


/**
 * @author yanwe
 *         createTime 2017-08-2017/8/16 17:40
 */
public class WCustomerManagerDailyExcelVo {

    /**
     * 机构名称
     */
    @ExcelTableHeader(name = "机构名称")
    private String orgName;

    /**
     * 姓名
     */
    @ExcelTableHeader(name = "姓名")
    private String userCname;

    @ExcelTableHeader(name = "账号")
    private String userName;

    /**
     * 日期
     */
    private Date date;

    @ExcelTableHeader(name = "日期")
    private String dateFormat;

    /**
     * 开始时间
     */
    private Date beginTime;

    @ExcelTableHeader(name = "开始时间")
    private String beginTimeFormat;

    /**
     * 结束时间
     */
    private Date endTime;

    @ExcelTableHeader(name = "结束时间")
    private String endTimeFormat;

    /**
     * 工作时间
     */
    @ExcelTableHeader(name = "工作时间")
    private Double workTime;


    /**
     * 工作内容
     */
    @ExcelTableHeader(name = "工作内容")
    private String workContent;

    /**
     * 工作子内容
     */
    @ExcelTableHeader(name = "工作内容子项")
    private String subWorkContent;

    /**
     * 地点
     */
    @ExcelTableHeader(name = "工作地点")
    private String address;

    /**
     * 子地点
     */
    @ExcelTableHeader(name = "工作地点子项")
    private String subAddress;


    /**
     * 客户姓名
     */
    @ExcelTableHeader(name = "客户姓名")
    private String customerName;

    /**
     * 备注
     */
    @ExcelTableHeader(name = "备注")
    private String remark;

    /**
     * 心得体会
     */
    @ExcelTableHeader(name = "心得体会")
    private String experience;

    public String getUserName() {
        return userName;
    }

    public WCustomerManagerDailyExcelVo setUserName(String userName) {
        this.userName = userName;
        return this;
    }

    public String getExperience() {
        return experience;
    }

    public WCustomerManagerDailyExcelVo setExperience(String experience) {
        this.experience = experience;
        return this;
    }

    public WCustomerManagerDailyExcelVo setDateFormat(String dateFormat) {
        this.dateFormat = dateFormat;
        return this;
    }

    public WCustomerManagerDailyExcelVo setBeginTimeFormat(String beginTimeFormat) {
        this.beginTimeFormat = beginTimeFormat;
        return this;
    }

    public WCustomerManagerDailyExcelVo setEndTimeFormat(String endTimeFormat) {
        this.endTimeFormat = endTimeFormat;
        return this;
    }

    public String getDateFormat() {
        return DateTimeUtil.format(date,NORM_DATE_PATTERN);
    }

    public String getBeginTimeFormat() {
        return DateTimeUtil.format(beginTime,HH_MM_DATE_PATTERN);
    }

    public String getEndTimeFormat() {
        return DateTimeUtil.format(endTime,HH_MM_DATE_PATTERN);
    }

    public String getOrgName() {
        return orgName;
    }

    public WCustomerManagerDailyExcelVo setOrgName(String orgName) {
        this.orgName = orgName;
        return this;
    }

    public String getUserCname() {
        return userCname;
    }

    public WCustomerManagerDailyExcelVo setUserCname(String userCname) {
        this.userCname = userCname;
        return this;
    }

    public Date getDate() {
        return date;
    }

    public WCustomerManagerDailyExcelVo setDate(Date date) {
        this.date = date;
        return this;
    }

    public Date getBeginTime() {
        return beginTime;
    }

    public WCustomerManagerDailyExcelVo setBeginTime(Date beginTime) {
        this.beginTime = beginTime;
        return this;
    }

    public Date getEndTime() {
        return endTime;
    }

    public WCustomerManagerDailyExcelVo setEndTime(Date endTime) {
        this.endTime = endTime;
        return this;
    }

    public Double getWorkTime() {
        return workTime;
    }

    public WCustomerManagerDailyExcelVo setWorkTime(Double workTime) {
        this.workTime = workTime;
        return this;
    }

    public String getWorkContent() {
        return workContent;
    }

    public WCustomerManagerDailyExcelVo setWorkContent(String workContent) {
        this.workContent = workContent;
        return this;
    }

    public String getSubWorkContent() {
        return subWorkContent;
    }

    public WCustomerManagerDailyExcelVo setSubWorkContent(String subWorkContent) {
        this.subWorkContent = subWorkContent;
        return this;
    }

    public String getAddress() {
        return address;
    }

    public WCustomerManagerDailyExcelVo setAddress(String address) {
        this.address = address;
        return this;
    }

    public String getSubAddress() {
        return subAddress;
    }

    public WCustomerManagerDailyExcelVo setSubAddress(String subAddress) {
        this.subAddress = subAddress;
        return this;
    }

    public String getCustomerName() {
        return customerName;
    }

    public WCustomerManagerDailyExcelVo setCustomerName(String customerName) {
        this.customerName = customerName;
        return this;
    }

    public String getRemark() {
        return remark;
    }

    public WCustomerManagerDailyExcelVo setRemark(String remark) {
        this.remark = remark;
        return this;
    }
}
